package singleton.demo3;

public class test {
    public static void main(String[] args) {
        YaFactory yaFactory = YaFactory.getInstance();
        YaFactory yaFactory2 = YaFactory.getInstance();
        YaFactory yaFactory3 = YaFactory.getInstance();

        System.out.println(yaFactory);
        System.out.println(yaFactory2);
        System.out.println(yaFactory3);
    }
}
